:root {
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --border: #e5e7eb;
  --text: #0f172a;
  --muted: #64748b;
  --radius: 14px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(168, 85, 247, 0.06), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.06), transparent 45%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Hero */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 88px 24px 56px;
  text-align: left; /* ← change to center if you want */
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 2.8rem);
  margin-bottom: 6px;
}

.hero p {
  color: var(--muted);
  font-size: 1rem;
}

/* Grid */
.release-grid {
  max-width: 1100px;
  margin: auto;
  padding: 0 24px 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* Card */
.release-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px 24px 20px;
  display: grid;
  grid-template-rows: auto 1fr 1fr 1fr;
  min-height: 420px;
  position: relative;
}

/* Accent rail */
.release-card::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 4px;
  border-radius: 4px;
  background: var(--accent);
}

/* Header */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.version {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}

time {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Sections */
.card-section h3 {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--accent);
}

.card-section ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.95rem;
}

.card-section li {
  margin-bottom: 6px;
}

/* Accent themes (gentle pastels) */
.accent-purple { --accent: #8b5cf6; }
.accent-blue   { --accent: #38bdf8; }
.accent-green  { --accent: #22c55e; }
.accent-orange { --accent: #fb923c; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 640px) {
  .hero {
    padding: 64px 20px 40px;
  }

  .release-card {
    min-height: auto;
  }
}

/* Navigation cards */
.nav-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.nav-card:hover h3 {
  text-decoration: underline;
}


/* Navigation affordance */
.nav-card {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-card::after {
  content: "→";
  position: absolute;
  right: 24px;
  bottom: 24px;
  font-size: 1.4rem;
  opacity: 0.5;
}

.nav-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.nav-card:hover::after {
  opacity: 1;
}

/* Top navigation */
.top-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}


/* Floating hub button */
.floating-home.hub {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #93c5fd, #6ee7b7);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Center dot */
.hub-dot {
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  position: relative;
}

/* Orbit ring */
.hub-dot::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

/* Hover animation */
.floating-home.hub:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.25);
}

.floating-home.hub:hover .hub-dot::before {
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
/* CTA Pill */
.card-cta {
  margin-top: 22px;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: #1e40af;
  background: rgba(37, 99, 235, 0.08);
  transition: all 0.25s ease;
}

.cta-arrow {
  transition: transform 0.25s ease;
}

/* Hover */
.cta-pill:hover {
  background: rgba(37, 99, 235, 0.14);
}

.cta-pill:hover .cta-arrow {
  transform: translateX(4px);
}

.accent-green .cta-pill {
  color: #065f46;
  background: rgba(16, 185, 129, 0.12);
}

.accent-purple .cta-pill {
  color: #5b21b6;
  background: rgba(139, 92, 246, 0.12);
}

.accent-orange .cta-pill {
  color: #9a3412;
  background: rgba(249, 115, 22, 0.12);
}

